#ifndef __TIMER_HAL_H__
#define __TIMER_HAL_H__






#include <stdint.h>
#include "main.h"





void TIM1_PWM_Init(uint16_t arr, uint16_t psc);
void TIM3_Int_Init(uint16_t arr, uint16_t psc);
void TIM4_PWM_Init(uint16_t arr, uint16_t psc);
void TIM2_PWM_Init(uint16_t arr, uint16_t psc);


void PWM_Start(charge_port port, uint8_t duty);
void PWM_Stop(charge_port port);





#endif






